Location: Acid-Base Physiology @ e6833ef12268 / CellML Protocol / Protocol.tex

Author:
Soroush Safaei <ssaf006@aucklanduni.ac.nz>
Date:
2017-02-14 18:00:14+13:00
Desc:
I changed the parameters
Permanent Source URI:
https://models.cellml.org/workspace/297/rawfile/e6833ef12268a3202757b76191bfa57f7e55d867/CellML Protocol/Protocol.tex

\documentclass{article}
\usepackage{graphicx}
\usepackage{amsmath}
\graphicspath{{Figures/}}
\usepackage{fourier}
\usepackage[hidelinks]{hyperref}
\hypersetup{urlcolor=cyan}
\usepackage[font={small,it}]{caption}
\usepackage[margin=1cm]{caption}
\usepackage[a4paper, total={6in, 9in}]{geometry}
\newcommand{\figref}[2][{}]{\hyperref[#2]{\figurename~\ref{#2}#1}} 

\begin{document}
\author{Soroush Safaei}
\title{\textbf{Testing Protocol for Multi-Compartment Transport Models}}
\date{}
\maketitle

\noindent CellML models are considered to be complex when there are more than one compartment in the model. The membranes between the compartments contain one or more protein channels. There also could be chemical reactions inside the compartments. In the following, different stages for testing the validity of such complex models have been explained:

\section*{Ground 0:}
\begin{itemize}

\item Initialise all the variables to zero \eqref{eq:0-c}, close all the protein channels \eqref{eq:0-t}, deactivate all the inside reactions \eqref{eq:0-r}, and then run the model.

\begin{equation}
  c_i=0, \qquad i=1,...,4
  \label{eq:0-c}
\end{equation}
\begin{equation}
  T_j=0, \qquad j=1,2
  \label{eq:0-t}
\end{equation}
\begin{equation}
  R_k=0, \qquad k=1,2
  \label{eq:0-r}
\end{equation}

\item If the model does not run, check for any singularity or division by zero in the equations and identify them. Fix the problem in the code, so it would not happen again at any point during the simulation.

\item Check all the variables for any leakage, they all should be constant and in the steady state condition. Also they should be all zero unless there is a mathematical explanation behind it (\figref{fig:0}).

\end{itemize}

\begin{figure}[ht]
  \begin{center}
    \includegraphics[scale=0.65]{ground0.pdf}
    \includegraphics[scale=0.19]{ground0.png}
    \caption{(left) A basic complex CellML model consisting of two compartments (extracellular and intracellular) and four substances ($c_1$, $c_2$, $c_3$, $c_4$). (right) Concentrations of $c_1$ to $c_4$ in the extracellular environment during the first $1000$ seconds of the simulation which are all zero.}
    \label{fig:0}
  \end{center}
\end{figure}

\section*{Stage 1: Compartments, no reaction, no channel}
\begin{itemize}

\item Initialise all the variables to their default values \eqref{eq:1-c}, close all the protein channels \eqref{eq:1-t}, deactivate all the inside reactions \eqref{eq:1-r}, and then run the model.

\begin{equation}
  c_i=c(i), \qquad i=1,...,4
  \label{eq:1-c}
\end{equation}
\begin{equation}
  T_j=0, \qquad j=1,2
  \label{eq:1-t}
\end{equation}
\begin{equation}
  R_k=0, \qquad k=1,2
  \label{eq:1-r}
\end{equation}

\item Check all the variables for any leakage, they should be constant and in the steady state condition (\figref{fig:1}).

\end{itemize}

\begin{figure}[ht]
  \begin{center}
    \includegraphics[scale=0.65]{ground0.pdf}
    \includegraphics[scale=0.19]{stage1.png}
    \caption{(left) A basic complex CellML model consisting of two compartments (extracellular and intracellular) and four substances ($c_1$, $c_2$, $c_3$, $c_4$). (right) Concentrations of $c_1$ to $c_4$ in the extracellular environment during the first $1000$ seconds of the simulation which remained constant.}
    \label{fig:1}
  \end{center}
\end{figure}

\section*{Stage 2: Compartments with reactions, no channel}
\begin{itemize}

\item Initialise all the variables to their default values \eqref{eq:2-c}, close all the protein channels \eqref{eq:2-t}, activate only one of the reactions at a time in each compartment \eqref{eq:2-r}, and then run the model.

\begin{equation}
  c_i=c(i), \qquad i=1,...,4
  \label{eq:2-c}
\end{equation}
\begin{equation}
  T_j=0, \qquad j=1,2
  \label{eq:2-t}
\end{equation}
\begin{equation}
  R_k=1, \qquad k=1,2
  \label{eq:2-r}
\end{equation}

\item Check the flux direction for each reaction, make sure it is correct. Be consistent, set a standard for the model and document it in the model description (\figref{fig:flux-r}).

\begin{figure}[ht]
  \captionsetup{width=0.7\textwidth}
  \begin{center}
    \includegraphics[scale=1.5]{flux-r.pdf}
    \caption{Flux direction for an inside reaction. It is always assumed to be positive from reactants side to products side.}
    \label{fig:flux-r}
  \end{center}
\end{figure}

\item Check the variables in each compartment separately and investigate if they are behaving in the expected way. Check the reactions in each compartment to see if they reach the steady state condition (\figref{fig:2}).

\end{itemize}

\begin{figure}[ht]
  \begin{center}
    \includegraphics[scale=0.65]{stage2.pdf}
    \includegraphics[scale=0.19]{stage2.png}
    \caption{(left) A basic complex CellML model consisting of two compartments (extracellular and intracellular), four substances ($c_1$, $c_2$, $c_3$, $c_4$) and two inside reactions ($R_1$ and $R_2$). (right) Concentrations of $c_1$ to $c_3$ and the reaction flux in the extracellular environment during the first second of the simulation which reached the steady state condition.}
    \label{fig:2}
  \end{center}
\end{figure}

\section*{Stage 3: Compartments, no reaction, with one active channel}
\begin{itemize}

\item Initialise all the variables to their default values \eqref{eq:3-c}, open only one of the protein channels between two compartments \eqref{eq:3-t}, deactivate all the inside reactions \eqref{eq:3-r},  and then run the model.

\begin{equation}
  c_i=c(i), \qquad i=1,...,4
  \label{eq:3-c}
\end{equation}
\begin{equation}
  T_j=1, \qquad j=1 \lor 2
  \label{eq:3-t}
\end{equation}
\begin{equation}
  R_k=0, \qquad k=1,2
  \label{eq:3-r}
\end{equation}

\item Check the flux direction for the channel, make sure it is correct. Be consistent, set a standard for the model and document it in the model description (\figref{fig:flux-t}). 

\begin{figure}[ht]
  \captionsetup{width=0.7\textwidth}
  \begin{center}
    \includegraphics[scale=1.5]{flux-t.pdf}
    \caption{Flux direction for a protein channel. It is always assumed to be positive from intracellular environment to extracellular environment.}
    \label{fig:flux-t}
  \end{center}
\end{figure}

\item Identify the intracellular and extracellular environments. As a standard, inside the cell is assumed to be the intracellular ground and moving away from the cell, the compartment closer to the cell consider as the intracellular relative to the further one (\figref{fig:inex}).

\begin{figure}[ht]
  \captionsetup{width=0.7\textwidth}
  \begin{center}
    \includegraphics[scale=0.8]{inex.pdf}
    \caption{Relative extracellular and intracellular environments in a complex model with five compartments.}
    \label{fig:inex}
  \end{center}
\end{figure}

\item Check the relative transport speed of each protein channel, categorise them as high-speed or low-speed. This can help in the future to identify the main protein channels and analyse the results. If the speed for two channels are significantly different, there may be some issues with the units. Make sure the units for input and output variables are consistent.

\item Check the variables in each membrane separately. The variables related to the active protein channel should behave in the expected way, and all the other variables should stay constant and in the steady state condition (\figref{fig:3}).

\end{itemize}

\begin{figure}[ht]
  \begin{center}
    \includegraphics[scale=0.65]{stage3a.pdf}
    \includegraphics[scale=0.19]{stage3a.png}
    \caption{(left) A basic complex CellML model consisting of two compartments (extracellular and intracellular), four substances ($c_1$, $c_2$, $c_3$, $c_4$) and one protein channel ($T_1$). (right) Concentrations of $c_1$ and $c_2$ in the extracellular and intracellular environments during the first $1000$ seconds of the simulation.}
    \label{fig:3}
  \end{center}
\end{figure}

\section*{Stage 4: Compartments with reactions and channels}
\begin{itemize}

\item Initialise all the variables to their default values \eqref{eq:4-c}, open all the protein channels between two compartments \eqref{eq:4-t}, activate all the inside reactions \eqref{eq:4-r},  and then run the model.

\begin{equation}
  c_i=c(i), \qquad i=1,...,4
  \label{eq:4-c}
\end{equation}
\begin{equation}
  T_j=1, \qquad j=1,2
  \label{eq:4-t}
\end{equation}
\begin{equation}
  R_k=1, \qquad k=1,2
  \label{eq:4-r}
\end{equation}

\item Check the variables in each membrane separately. The variables should behave in the expected way (\figref{fig:4}).

\end{itemize}

\begin{figure}[ht]
  \begin{center}
    \includegraphics[scale=0.65]{stage4.pdf}
    \includegraphics[scale=0.19]{stage4.png}
    \caption{(left) A basic complex CellML model consisting of two compartments (extracellular and intracellular), four substances ($c_1$, $c_2$, $c_3$, $c_4$), two protein channels ($T_1$ and $T_2$) and two inside reactions ($R_1$ and $R_2$). (right) Concentrations of $c_3$ and $c_4$ in the extracellular and intracellular environments during the first second of the simulation.}
    \label{fig:4}
  \end{center}
\end{figure}

\section*{Stage 5: Domain Specific Protocols}

\end{document}